<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <style>
            form{
                text-align:center;
                margin-bottom:20px;
            }
        </style>
    </head>
    <body>
        <form action="__URL__/User/search" method="post"> 
            姓名:<input type="text" name="username"/>
            性别：<input name="sex" type="radio" value="1"/>男 <input type="radio" name="sex" value="0"/>女
            <input type="submit" value="提交"/>
        </form>
        <table border="1" width="500" align="center">
            <tr>
                <th>id</th>
                <th>username</th>
                <th>sex</th>
                <th>操作</th>
            </tr>
            <volist name="data" id="vo">
                <tr>
                    <td><{$vo.id}></td>
                    <td><{$vo.username}></td>
                    <td><{$vo.sex}></td>
                    <td><a href="/thinkphp/index.php/User/del/id/<{$vo.id}>">删除</a>｜ <a href="/thinkphp/index.php/User/modify/id/<{$vo.id}>">修改</a></td>
                </tr>
            </volist>
        </table>
    </body>
</html>
